{include file="header.html"}

<div class="page-header">
	<h6>
		<a href="?app=service&act=province">参保省市</a>
		<small>
			<i class="ace-icon fa fa-angle-double-right"></i>
			参保城市
		</small>
		<div>
			<a href="?app=service&act=city_edit&province_id={$province_id}">添加城市</a>
		</div>
	</h6>
</div>

<div class="table-content">
<table id="simple-table" class="table table-striped table-bordered table-hover">
	<thead>
		<tr>
			<th>ID</th>
			<th>名称</th>
			<th>所属省份</th>
			<th>社保类型</th>
			<th>参保截止日</th>
			<th>排序</th>
			<th>状态</th>
			<th>操作</th>
		</tr>
	</thead>

	<tbody>
		{foreach from=$rs item=row}
		<tr>
			<td>{$row->id}</td>
			<td><a href="?app=service&act=city_edit&province_id={$province_id}&id={$row->id}">{$row->name}</a></td>
			<td>{$row->province_name}</td>
			<td><a href="?app=service&act=casy&province_id={$province_id}&service_city_id={$row->id}">设置</a></td>
			<td>{$row->end_day}日</td>
			<td>{$row->sort}</td>
			<td>{if $row->status == 1} 显示 {else} 隐藏 {/if}</td>
			<td>
				<a href="?app=service&act=city_edit&province_id={$province_id}&id={$row->id}">
					<button type="button" class="btn btn-xs btn-info">
					<i class="ace-icon fa fa-pencil bigger-120"></i>
				</button>
				</a>
				<a href="?app=service&act=city_delete&province_id={$province_id}&id={$row->id}" class="delete">
					<button type="button" class="btn btn-xs btn-danger">
					<i class="ace-icon fa fa-trash-o bigger-120"></i>
				</button>
				</a>
			</td>
		</tr>
		{foreachelse}
		<tr bgcolor="white"><td colspan="13" height="50">暂无记录</td></tr>
		{/foreach}

	</tbody>
</table>
</div>
<div class="mypage">
	共 {$page.num_records} 个记录  {$page.current_page} / {$page.num_pages} 页  {$page.first_page} {$page.prev} {$page.nav} {$page.next} {$page.last_page}
</div>
{include file="footer.html"}